C2SPayloadHandler

fun interface C2SPayloadHandler<T : CustomPayload> : PayloadHandler<T, ServerPlayerEntity, ServerPlayNetworkContext>

Handler for a server receiving a payload sent from a client

Author

fzzyhmstrs

Since

0.4.1

Parameters

T

the type of payload being handled

Functions

Link copied to clipboard
abstract override fun handle(payload: T, context: ServerPlayNetworkContext)

Handles a payload sent from a client